import Vue from 'vue'
import Router from 'vue-router'

import login from '@/components/login/login'

import modiPwd from '@/components/mine/modiPwd'


import partyAffairs from '@/components/dangjian/dangwu/partyAffairs'
import partyAffairsRanking from '@/components/dangjian/dangwu/partyAffairsRanking'
import partyEducation from '@/components/dangjian/dangwu/partyEducation'
import partyEducationDetail from '@/components/dangjian/dangwu/partyEducationDetail'
import partyEducationSignUp from '@/components/dangjian/dangwu/partyEducationSignUp'
import home from '@/components/dangjian/home/home'
Vue.use(Router)

const originalPush = Router.prototype.push
Router.prototype.push = function push (location) {
  return originalPush.call(this, location).catch(err => err)
}

export default new Router({
  routes: [
    {
      path: '/',
      name: 'login',
      component: login,
      meta: {keepAlive: false}
    },
    // 修改密码
    {
      path: '/modiPwd',
      name: 'modiPwd',
      component: modiPwd,
      meta: {keepAlive: false}
    },
    // routerlist
    {
      path: '/routerlist',
      name: 'routerlist',
      component: () => import('@/components/dangjian/routerlist'),
      meta: {keepAlive: false}
    },
    // 三会一课
    {
      path: '/sanhuiyike/:type',
      name: 'sanhuiyike',
      component: () => import('@/components/dangjian/dangwu/sanhuiyike'),
      meta: {keepAlive: false}
    },
    // 三会一课 - 其他党工委查看
    {
      path: '/sanhuiyikeOther/:type/:orgId',
      name: 'sanhuiyikeOther',
      component: () => import('@/components/dangjian/dangwu/sanhuiyikeOther'),
      meta: {keepAlive: false}
    },
    // 三会一课详情
    {
      path: '/sanhuiyikeDetail/:orgLifeId',
      name: 'sanhuiyikeDetail',
      component: () => import('@/components/dangjian/dangwu/sanhuiyikeDetail'),
      meta: {keepAlive: false}
    },
    // 党务主页
    {
      path: '/partyAffairs',
      name: 'partyAffairs',
      component: partyAffairs,
      meta: {keepAlive: false}
    },
    // 党务主页
    {
      path: '/partyAffairsRanking',
      name: 'partyAffairsRanking',
      component: partyAffairsRanking,
      meta: {keepAlive: false}
    },
    // 党建教育
    {
      path: '/partyEducation',
      name: 'partyEducation',
      component: partyEducation,
      meta: {keepAlive: false}
    },
    // 党建教育详情
    {
      path: '/partyEducationDetail/:id/:tabIndex',
      name: 'partyEducationDetail',
      component: partyEducationDetail,
      meta: {keepAlive: false}
    },
    // 党建教育报名
    {
      path: '/partyEducationSignUp/:id',
      name: 'partyEducationSignUp',
      component: partyEducationSignUp,
      meta: {keepAlive: false}
    },
    // 组织生活
    {
      path: '/organizationalLife',
      name: 'organizationalLife',
      component: () => import('@/components/dangjian/dangwu/organizationalLife'),
      meta: {keepAlive: false}
    },
    // 添加或修改组织生活
    {
      // path: '/organizationalLifeAdd/:type/:typeLabel/:showTypes',
      path: '/organizationalLifeAdd/:state/:type/:typeLabel/:showTypes',
      name: 'organizationalLifeAdd',
      component: () => import('@/components/dangjian/dangwu/organizationalLifeAdd'),
      meta: {keepAlive: false}
    },
    // e支部
    {
      path: '/eBranch',
      name: 'eBranch',
      component: () => import('@/components/dangjian/dangwu/eBranch'),
      meta: {keepAlive: false}
    },
    // 支部空间
    {
      path: '/branchSpace/:id',
      name: 'branchSpace',
      component: () => import('@/components/dangjian/dangwu/branchSpace'),
      meta: {keepAlive: false}
    },
    // 集中学习
    {
      path: '/concentratedLearning',
      name: 'concentratedLearning',
      component: () => import('@/components/dangjian/dangwu/concentratedLearning'),
      meta: {keepAlive: false}
    },
    // 政策文件
    {
      path: '/policyDocument/:id',
      name: 'policyDocument',
      component: () => import('@/components/dangjian/dangwu/policyDocument'),
      meta: {keepAlive: false}
    },
    // 政策文件
    {
      path: '/policyDocumentList/:id',
      name: 'policyDocumentList',
      component: () => import('@/components/dangjian/dangwu/policyDocumentList'),
      meta: {keepAlive: false}
    },
    // 政务文件
    {
      path: '/governmentDocuments',
      name: 'governmentDocuments',
      component: () => import('@/components/dangjian/dangwu/governmentDocuments'),
      meta: {keepAlive: false}
    },
    // 政策文件详情
    {
      path: '/governmentDocumentsDetail',
      name: 'governmentDocumentsDetail',
      component: () => import('@/components/dangjian/dangwu/governmentDocumentsDetail'),
      meta: {keepAlive: false}
    },
    // 换届提醒
    {
      path: '/newTermReminder',
      name: 'newTermReminder',
      component: () => import('@/components/dangjian/dangwu/newTermReminder'),
      meta: {keepAlive: false}
    },
    // 换届提醒详情
    {
      path: '/newTermReminderDetail',
      name: 'newTermReminderDetail',
      component: () => import('@/components/dangjian/dangwu/newTermReminderDetail'),
      meta: {keepAlive: false}
    },
    // 通知公告
    {
      path: '/noticeNotice',
      name: 'noticeNotice',
      component: () => import('@/components/dangjian/dangwu/noticeNotice'),
      meta: {keepAlive: false}
    },
    // 通知公告详情
    {
      path: '/noticeNoticeDetail/:msgId/:tabIndex',
      name: 'noticeNoticeDetail',
      component: () => import('@/components/dangjian/dangwu/noticeNoticeDetail'),
      meta: {keepAlive: false}
    },
    // 主页模块
    // 主页
    {
      path: '/home',
      name: 'home',
      component: home,
      meta: {keepAlive: true}
    },
    // 红云播推荐
    {
      path: '/videoHotList',
      name: 'videoHotList',
      component: () => import('@/components/dangjian/home/videoHotList'),
      meta: {keepAlive: false}
    },
    // 更多事项
    {
      path: '/moreItem',
      name: 'moreItem',
      component: () => import('@/components/dangjian/home/moreItem'),
      meta: {keepAlive: false}
    },
    // 红云头条
    {
      path: '/redCloudHeadline',
      name: 'redCloudHeadline',
      component: () => import('@/components/dangjian/home/redCloudHeadline'),
      meta: {keepAlive: true}
    },
    // 红云头条合集列表
    {
      path: '/redCloudHeadlineList',
      name: 'redCloudHeadlineList',
      component: () => import('@/components/dangjian/home/redCloudHeadlineList'),
      meta: {keepAlive: false}
    },
    // 红云头条-新闻详情
    {
      path: '/redCloudNewsDetail/:id',
      name: 'redCloudNewsDetail',
      component: () => import('@/components/dangjian/home/redCloudNewsDetail'),
      meta: {keepAlive: false}
    },
    // 主题活动-列表
    {
      path: '/themeActivity',
      name: 'themeActivity',
      component: () => import('@/components/dangjian/home/themeActivity'),
      meta: {keepAlive: true}
    },
    // 更新通知
    {
      path: '/notifyDetail/:id',
      name: 'notifyDetail',
      component: () => import('@/components/dangjian/home/notifyDetail'),
      meta: {keepAlive: false}
    },
    // 固定栏目详情
    {
      path: '/fixDetail',
      name: 'fixDetail',
      component: () => import('@/components/dangjian/home/fixDetail'),
      meta: {keepAlive: false}
    },
    // 党史上的今天
    {
      path: '/todayDetail',
      name: 'todayDetail',
      component: () => import('@/components/dangjian/home/todayDetail'),
      meta: {keepAlive: false}
    },
    // 身边好党员
    {
      path: '/goodPartyMembersAround',
      name: 'goodPartyMembersAround',
      component: () => import('@/components/dangjian/home/goodPartyMembersAround'),
      meta: {keepAlive: true}
    },
    // 需求调查
    {
      path: '/demandSurvey',
      name: 'demandSurvey',
      component: () => import('@/components/dangjian/home/demandSurvey'),
      meta: {keepAlive: false}
    },
    // 需求调查-反馈问题
    {
      path: '/demandSurveyFeedback',
      name: 'demandSurveyFeedback',
      component: () => import('@/components/dangjian/home/demandSurveyFeedback'),
      meta: {keepAlive: false}
    },
    // 我要出题
    {
      path: '/problemSetting',
      name: 'problemSetting',
      component: () => import('@/components/dangjian/home/problemSetting'),
      meta: {keepAlive: false}
    },
    // 每日一答
    {
      path: '/oneAnswerEveryday',
      name: 'oneAnswerEveryday',
      component: () => import('@/components/dangjian/home/oneAnswerEveryday'),
      meta: {keepAlive: false}
    },
    // 一周一记
    {
      path: '/recordWeekly',
      name: 'recordWeekly',
      component: () => import('@/components/dangjian/home/recordWeekly'),
      meta: {keepAlive: false}
    },
    // 电台
    {
      path: '/radioStation',
      name: 'radioStation',
      component: () => import('@/components/dangjian/home/radioStation'),
      meta: {keepAlive: false}
    },
    // 短视频
    {
      path: '/shortVideo',
      name: 'shortVideo',
      component: () => import('@/components/dangjian/home/shortVideo'),
      meta: {keepAlive: false}
    },
    // 长视频
    {
      path: '/longVideo',
      name: 'longVideo',
      component: () => import('@/components/dangjian/home/longVideo'),
      meta: {keepAlive: false}
    },
    // 抖音
    {
      path: '/douyin',
      name: 'douyin',
      component: () => import('@/components/dangjian/home/video/douyin'),
      meta: {keepAlive: false}
    },
    // 红云播客-新版(仿抖音首页)
    {
      path: '/podcast',
      name: 'podcast',
      component: () => import('@/components/dangjian/home/podcast/index'),
      meta: {keepAlive: false}
    },
    // 红云播客-切换党工委
    {
      path: '/podcastRegionalChoice',
      name: 'podcastRegionalChoice',
      component: () => import('@/components/dangjian/home/podcast/regionalChoice'),
      meta: {keepAlive: false}
    },
    // 红云播客-搜索
    {
      path: '/podcastSearch',
      name: 'podcastSearch',
      component: () => import('@/components/dangjian/home/podcast/search'),
      meta: {keepAlive: false}
    },
    // 红云播客-播放防弹窗跳转页面
    {
      path: '/videoSlidePlayerJump',
      name: 'videoSlidePlayerJump',
      component: () => import('@/components/common/videoSlidePlayerJump'),
      meta: {keepAlive: false}
    },
    // 发布视频
    {
      path: '/postVideo',
      name: 'postVideo',
      component: () => import('@/components/dangjian/home/video/postVideo'),
      meta: {keepAlive: false}
    },
    // 音视频详情
    {
      path: '/videoDetail',
      name: 'videoDetail',
      component: () => import('@/components/dangjian/home/videoDetail'),
      meta: {keepAlive: false}
    },
    // 我的视频
    {
      path: '/microVideo',
      name: 'microVideo',
      component: () => import('@/components/dangjian/home/microVideo'),
      meta: {keepAlive: false}
    },
    // 干部在线
    {
      path: '/cadreOnline',
      name: 'cadreOnline',
      component: () => import('@/components/dangjian/home/cadreOnline'),
      meta: {keepAlive: false}
    },
    // 干部调训
    {
      path: '/cadreTrain',
      name: 'cadreTrain',
      component: () => import('@/components/dangjian/home/cadreTrain'),
      meta: {keepAlive: false}
    },
    // 学时统计
    {
      path: '/classHourStatistics',
      name: 'classHourStatistics',
      component: () => import('@/components/dangjian/home/classHourStatistics'),
      meta: {keepAlive: false}
    },
    // 电子档案
    {
      path: '/eFile',
      name: 'eFile',
      component: () => import('@/components/dangjian/home/eFile'),
      meta: {keepAlive: false}
    },
    // 培训计划
    {
      path: '/trainingPlan',
      name: 'trainingPlan',
      component: () => import('@/components/dangjian/home/trainingPlan'),
      meta: {keepAlive: false}
    },
    // 培训计划 - 启动后的详情
    {
      path: '/trainingplanStartedDetail',
      name: 'trainingplanStartedDetail',
      component: () => import('@/components/dangjian/home/trainingplanStartedDetail'),
      meta: {keepAlive: false}
    },
    // 培训计划-编辑
    {
      path: '/trainingPlanEdit',
      name: 'trainingPlanEdit',
      component: () => import('@/components/dangjian/home/trainingPlanEdit'),
      meta: {keepAlive: false}
    },
    // 培训计划详情
    {
      path: '/trainingPlanDetail',
      name: 'trainingPlanDetail',
      component: () => import('@/components/dangjian/home/trainingPlanDetail'),
      meta: {keepAlive: false}
    },
    // 培训计划-添加
    {
      path: '/trainingPlanAdd',
      name: 'trainingPlanAdd',
      component: () => import('@/components/dangjian/home/trainingPlanAdd'),
      meta: {keepAlive: false}
    },
    // 培训计划-启动
    {
      path: '/trainingPlanStart',
      name: 'trainingPlanStart',
      component: () => import('@/components/dangjian/home/trainingPlanStart'),
      meta: {keepAlive: false}
    },
    // 人员选择
    {
      path: '/personnelSelection/:modelName',
      name: 'personnelSelection',
      component: () => import('@/components/dangjian/home/personnelSelection'),
      meta: {keepAlive: false}
    },
    // 三会一课详情新增参会人员
    {
      path: '/personnelSelectionConfereeAdd/:modelName',
      name: 'personnelSelectionConfereeAdd',
      component: () => import('@/components/dangjian/home/personnelSelectionConfereeAdd'),
      meta: {keepAlive: false}
    },
    // 培训班表
    {
      path: '/trainingplanClassList',
      name: 'trainingplanClassList',
      component: () => import('@/components/dangjian/home/trainingplanClassList'),
      meta: {keepAlive: false}
    },
    // 总结查看
    {
      path: '/trainingplanClassDetail',
      name: 'trainingplanClassDetail',
      component: () => import('@/components/dangjian/home/trainingplanClassDetail'),
      meta: {keepAlive: false}
    },
    // 课程表列表
    {
      path: '/classList',
      name: 'classList',
      component: () => import('@/components/dangjian/home/classList'),
      meta: {keepAlive: false}
    },
    // 添加课程表
    {
      path: '/classScheduleCard',
      name: 'classScheduleCard',
      component: () => import('@/components/dangjian/home/classScheduleCard'),
      meta: {keepAlive: false}
    },
    // 添加课程表详情
    {
      path: '/classScheduleCardDetail',
      name: 'classScheduleCardDetail',
      component: () => import('@/components/dangjian/home/classScheduleCardDetail'),
      meta: {keepAlive: false}
    },
    // 统计分析
    {
      path: '/statisticalAnalysis',
      name: 'statisticalAnalysis',
      component: () => import('@/components/dangjian/home/statisticalAnalysis'),
      meta: {keepAlive: false}
    },
    // 学时预警-添加
    {
      path: '/classHourWarningAdd',
      name: 'classHourWarningAdd',
      component: () => import('@/components/dangjian/home/classHourWarningAdd'),
      meta: {keepAlive: false}
    },
    // 驻村工作
    {
      path: '/workVillage',
      name: 'workVillage',
      component: () => import('@/components/dangjian/home/workVillage'),
      meta: {keepAlive: false}
    },
    // 驻村辅导
    {
      path: '/tutoringVillage',
      name: 'tutoringVillage',
      component: () => import('@/components/dangjian/home/tutoringVillage'),
      meta: {keepAlive: false}
    },
    // 驻村辅导 教师
    {
      path: '/tutoringVillageTeacher',
      name: 'tutoringVillageTeacher',
      component: () => import('@/components/dangjian/home/tutoringVillageTeacher'),
      meta: {keepAlive: false}
    },
    // 驻村辅导 领导
    {
      path: '/tutoringVillageLeader',
      name: 'tutoringVillageLeader',
      component: () => import('@/components/dangjian/home/tutoringVillageLeader'),
      meta: {keepAlive: false}
    },
    // 驻村辅导 - 问题详情
    {
      path: '/tutoringVillageDetail/:id',
      name: 'tutoringVillageDetail',
      component: () => import('@/components/dangjian/home/tutoringVillageDetail'),
      meta: {keepAlive: false}
    },
    // 专题
    // 专题列表
    {
      path: '/special',
      name: 'special',
      component: () => import('@/components/dangjian/special/special'),
      meta: {keepAlive: false}
    },
    // 专题详情
    {
      path: '/specialDetail',
      name: 'specialDetail',
      component: () => import('@/components/dangjian/special/specialDetail'),
      meta: {keepAlive: false}
    },
    // 专题详情 最美逆行
    {
      path: '/specialDetail2020',
      name: 'specialDetail2020',
      component: () => import('@/components/dangjian/special/specialDetail2020'),
      meta: {keepAlive: false}
    },
    // 红友圈
    // 红友圈列表
    {
      path: '/redfriendscircle/:from',
      name: 'redfriendscircle',
      component: () => import('@/components/dangjian/redfriendscircle/redfriendscircle'),
      meta: {keepAlive: true}
    },
    // 添加红友
    {
      path: '/redfriendsAdd',
      name: 'redfriendsAdd',
      component: () => import('@/components/dangjian/redfriendscircle/redfriendsAdd'),
      meta: {keepAlive: false}
    },
    // 发布消息
    {
      path: '/redfriendsRelease/:from',
      name: 'redfriendsRelease',
      component: () => import('@/components/dangjian/redfriendscircle/redfriendsRelease'),
      meta: {keepAlive: false}
    },
    // 个人中心
    // 个人中心
    {
      path: '/personalcenter',
      name: 'personalcenter',
      component: () => import('@/components/dangjian/personalcenter/personalcenter'),
      meta: {keepAlive: false}
    },
    // 浏览历史
    {
      path: '/browseHistory',
      name: 'browseHistory',
      component: () => import('@/components/dangjian/personalcenter/browseHistory'),
      meta: {keepAlive: false}
    },
    // 编辑浏览历史
    {
      path: '/browseHistoryEdit',
      name: 'browseHistoryEdit',
      component: () => import('@/components/dangjian/personalcenter/browseHistoryEdit'),
      meta: {keepAlive: false}
    },
    // 更换头像
    {
      path: '/changeAvatar',
      name: 'changeAvatar',
      component: () => import('@/components/dangjian/personalcenter/changeAvatar'),
      meta: {keepAlive: false}
    },
    // 积分规则
    {
      path: '/integralRule',
      name: 'integralRule',
      component: () => import('@/components/dangjian/personalcenter/integralRule'),
      meta: {keepAlive: false}
    },
    // 我的活动
    {
      path: '/myActivities',
      name: 'myActivities',
      component: () => import('@/components/dangjian/personalcenter/myActivities'),
      meta: {keepAlive: false}
    },
    // 我的支部
    {
      path: '/myBranch',
      name: 'myBranch',
      component: () => import('@/components/dangjian/personalcenter/myBranch'),
      meta: {keepAlive: false}
    },
    // 我的收藏
    {
      path: '/myCollection',
      name: 'myCollection',
      component: () => import('@/components/dangjian/personalcenter/myCollection'),
      meta: {keepAlive: false}
    },
    // 常见问题
    {
      path: '/myCommonQuestion',
      name: 'myCommonQuestion',
      component: () => import('@/components/dangjian/personalcenter/myCommonQuestion'),
      meta: {keepAlive: false}
    },
    // 常见问题详情页面
    {
      path: '/myCommonQuestionDetail',
      name: 'myCommonQuestionDetail',
      component: () => import('@/components/dangjian/personalcenter/myCommonQuestionDetail'),
      meta: {keepAlive: false}
    },
    // 我的成绩单
    {
      path: '/mySchoolReport',
      name: 'mySchoolReport',
      component: () => import('@/components/dangjian/personalcenter/mySchoolReport'),
      meta: {keepAlive: false}
    },
    // 出题记录
    {
      path: '/myQuestion',
      name: 'myQuestion',
      component: () => import('@/components/dangjian/personalcenter/myQuestion'),
      meta: {keepAlive: false}
    },
    // 出题详情
    {
      path: '/myQuestionDetail',
      name: 'myQuestionDetail',
      component: () => import('@/components/dangjian/personalcenter/myQuestionDetail'),
      meta: {keepAlive: false}
    },
    // 我的荣誉
    {
      path: '/myHonor',
      name: 'myHonor',
      component: () => import('@/components/dangjian/personalcenter/myHonor'),
      meta: {keepAlive: false}
    },
    // 上传我的荣誉
    {
      path: '/myHonorUpload',
      name: 'myHonorUpload',
      component: () => import('@/components/dangjian/personalcenter/myHonorUpload'),
      meta: {keepAlive: false}
    },
    // 我的订阅
    {
      path: '/mySubscriptions',
      name: 'mySubscriptions',
      component: () => import('@/components/dangjian/personalcenter/mySubscriptions'),
      meta: {keepAlive: false}
    },
    // 我的积分
    {
      path: '/myScore',
      name: 'myScore',
      component: () => import('@/components/dangjian/personalcenter/myScore'),
      meta: {keepAlive: false}
    },
    // 积分明细
    {
      path: '/pointsDetails',
      name: 'pointsDetails',
      component: () => import('@/components/dangjian/personalcenter/pointsDetails'),
      meta: {keepAlive: false}
    },
    {
      path: '/superMarket',
      name: 'superMarket',
      component: () => import('@/components/dangjian/personalcenter/superMarket'),
      meta: {keepAlive: false}
    },
    // 系统设置
    {
      path: '/setting',
      name: 'setting',
      component: () => import('@/components/dangjian/personalcenter/setting'),
      meta: {keepAlive: false}
    },
    // 个人信息
    {
      path: '/userInfo',
      name: 'userInfo',
      component: () => import('@/components/dangjian/personalcenter/userInfo'),
      meta: {keepAlive: false}
    },
    // 市属党（工）委平台
    {
      path: '/otherPlatform',
      name: 'otherPlatform',
      component: () => import('@/components/dangjian/home/otherPlatform'),
      meta: {keepAlive: false}
    },
    // 市属党（工）委平台  新闻列表
    {
      path: '/newsChannel',
      name: 'newsChannel',
      component: () => import('@/components/dangjian/home/newsChannel'),
      meta: {keepAlive: true}
    },
    // 组工信息
    {
      path: '/groupInfoList',
      name: 'groupInfoList',
      component: () => import('@/components/dangjian/home/groupInfoList'),
      meta: {keepAlive: true}
    },
    // 组工信息
    {
      path: '/groupInfoDetail',
      name: 'groupInfoDetail',
      component: () => import('@/components/dangjian/home/groupInfoDetail'),
      meta: {keepAlive: false}
    },
    // 评论详情列表
    {
      path: '/commentList',
      name: 'commentList',
      component: () => import('@/components/dangjian/comment/commentList'),
      meta: {keepAlive: false}
    },
    // 三会一课列表
    {
      path: '/organizationalLifeList',
      name: 'organizationalLifeList',
      component: () => import('@/components/dangjian/dangwu/organizationalLifeList'),
      meta: {keepAlive: false}
    },
    // 评价管理
    {
      path: '/appraiseManage',
      name: 'appraiseManage',
      component: () => import('@/components/dangjian/home/appraiseManage'),
      meta: {keepAlive: false}
    },
    // 评价管理详情
    {
      path: '/appraiseManageDetail',
      name: 'appraiseManageDetail',
      component: () => import('@/components/dangjian/home/appraiseManageDetail'),
      meta: {keepAlive: false}
    },
    // 评价统计详情
    {
      path: '/appraiseStatisticsDetail',
      name: 'appraiseStatisticsDetail',
      component: () => import('@/components/dangjian/home/appraiseStatisticsDetail'),
      meta: {keepAlive: false}
    },
    // 评价提交
    {
      path: '/appraiseSubmit',
      name: 'appraiseSubmit',
      component: () => import('@/components/dangjian/home/appraiseSubmit'),
      meta: {keepAlive: false}
    },
    // 总结上报提交
    {
      path: '/summarySubmit',
      name: 'summarySubmit',
      component: () => import('@/components/dangjian/summarySubmit/summarySubmit'),
      meta: {keepAlive: false}
    },
    // 会议发起通知
    {
      path: '/sendNotice/:title/:content/:explanation/:orgInfoId',
      name: 'sendNotice',
      component: () => import('@/components/dangjian/dangwu/sendNotice'),
      meta: {keepAlive: false}
    },
    // 会议类型
    {
      path: '/scheduleTypes',
      name: 'scheduleTypes',
      component: () => import('@/components/work/schedule/scheduleTypes'),
      meta: {keepAlive: false}
    },
    // 会议纪要
    {
      path: '/meetingMinutes/:orgLifeId',
      name: 'meetingMinutes',
      component: () => import('@/components/dangjian/dangwu/meetingMinutes'),
      meta: {keepAlive: false}
    },
    // 通知反馈
    {
      path: '/feedback/:msgId',
      name: 'feedback',
      component: () => import('@/components/dangjian/dangwu/feedback'),
      meta: {keepAlive: false}
    },
    // 我的好友申请
    {
      path: '/applicationList',
      name: 'applicationList',
      component: () => import('@/components/dangjian/redfriendscircle/applicationList'),
      meta: {keepAlive: false}
    },
    // 身边好党员详情
    {
      path: '/goodPartyMembersAroundDetail/:id',
      name: 'goodPartyMembersAroundDetail',
      component: () => import('@/components/dangjian/home/goodPartyMembersAroundDetail'),
      meta: {keepAlive: false}
    },
    // 二维码签到
    {
      path: '/qrcode/:id',
      name: 'qrcode',
      component: () => import('@/components/dangjian/dangwu/qrcode'),
      meta: {keepAlive: false}
    },
    // 支部大事记详情
    {
      path: '/branchMemorabiliaDetail/:id/:index',
      name: 'branchMemorabiliaDetail',
      component: () => import('@/components/dangjian/dangwu/branchMemorabiliaDetail'),
      meta: {keepAlive: false}
    },
    // 驻村辅导提问
    {
      path: '/tutoringVillageAdd',
      name: 'tutoringVillageAdd',
      component: () => import('@/components/dangjian/home/tutoringVillageAdd'),
      meta: {keepAlive: false}
    },
    // 修改密码
    {
      path: '/modifyPwd',
      name: 'modifyPwd',
      component: () => import('@/components/dangjian/personalcenter/modifyPwd'),
      meta: {keepAlive: false}
    },
    // 找回密码
    {
      path: '/findPwd',
      name: 'findPwd',
      component: () => import('@/components/dangjian/personalcenter/findPwd'),
      meta: {keepAlive: false}
    },
    // 政策文件与我的活动详情
    {
      path: '/policyActivityDetail',
      name: 'policyActivityDetail',
      component: () => import('@/components/dangjian/personalcenter/policyActivityDetail'),
      meta: {keepAlive: false}
    },
    // 互动分享
    {
      path: '/redfriendscircleShare/:from',
      name: 'redfriendscircleShare',
      component: () => import('@/components/dangjian/redfriendscircle/redfriendscircleShare'),
      meta: {keepAlive: false}
    },
    // 驻村辅导我的问答详情
    {
      path: '/tutoringVillageMyQaDetail/:id',
      name: 'tutoringVillageMyQaDetail',
      component: () => import('@/components/dangjian/home/tutoringVillageMyQaDetail'),
      meta: {keepAlive: false}
    },
    // 驻村辅导我的辅导师详情
    {
      path: '/tutoringVillageTeacherDetail/:id',
      name: 'tutoringVillageTeacherDetail',
      component: () => import('@/components/dangjian/home/tutoringVillageTeacherDetail'),
      meta: {keepAlive: false}
    },
    // 评价界面
    {
      path: '/evaluate',
      name: 'evaluate',
      component: () => import('@/components/dangjian/redfriendscircle/evaluate'),
      meta: {keepAlive: false}
    },
    // 市部门选择
    {
      path: '/groupSelect',
      name: 'groupSelect',
      component: () => import('@/components/dangjian/home/groupSelect'),
      meta: {keepAlive: false}
    },
    // 辅导师选择
    {
      path: '/tearcherSelect/:groupId',
      name: 'tearcherSelect',
      component: () => import('@/components/dangjian/home/tearcherSelect'),
      meta: {keepAlive: false}
    },
    // 区县选择
    {
      path: '/areaSelect',
      name: 'areaSelect',
      component: () => import('@/components/dangjian/home/areaSelect'),
      meta: {keepAlive: false}
    },
    // 区县部门选择
    {
      path: '/areaGroupSelect/:groupId',
      name: 'areaGroupSelect',
      component: () => import('@/components/dangjian/home/areaGroupSelect'),
      meta: {keepAlive: false}
    },
    // 修改手机号
    {
      path: '/modifyMobile',
      name: 'modifyMobile',
      component: () => import('@/components/dangjian/personalcenter/modifyMobile'),
      meta: {keepAlive: false}
    },
    // 我的关注
    {
      path: '/myFollow',
      name: 'myFollow',
      component: () => import('@/components/dangjian/home/myFollow'),
      meta: {keepAlive: false}
    },
    // 支部通知详情
    {
      path: '/branchNoticeNoticeDetail/:msgId',
      name: 'branchNoticeNoticeDetail',
      component: () => import('@/components/dangjian/dangwu/branchNoticeNoticeDetail'),
      meta: {keepAlive: false}
    },
    // 话题详情
    {
      path: '/branchTopicDetail',
      name: 'branchTopicDetail',
      component: () => import('@/components/dangjian/dangwu/branchTopicDetail'),
      meta: {keepAlive: true}
    },
    // 心得详情
    {
      path: '/branchExperienceDetail',
      name: 'branchExperienceDetail',
      component: () => import('@/components/dangjian/dangwu/branchExperienceDetail'),
      meta: {keepAlive: false}
    },
    // 修改个人昵称
    {
      path: '/modifyNickName',
      name: 'modifyNickName',
      component: () => import('@/components/dangjian/personalcenter/modifyNickName'),
      meta: {keepAlive: false}
    },
    // 筑固工程
    {
      path: '/workingTrends',
      name: 'workingTrends',
      component: () => import('@/components/dangjian/home/workingTrends'),
      meta: {keepAlive: false}
    },
    // 筑固工程 - 支部荣耀
    {
      path: '/demoHonor',
      name: 'demoHonor',
      component: () => import('@/components/dangjian/home/workingTrends/demoHonor'),
      meta: {keepAlive: false}
    },
    // 线上观摩 - 支部荣耀
    {
      path: '/demoObserve',
      name: 'demoObserve',
      component: () => import('@/components/dangjian/home/workingTrends/demoObserve'),
      meta: {keepAlive: false}
    },
    // 筑固工程 - 支部荣耀 - 更多
    {
      path: '/demoHonorMore',
      name: 'demoHonorMore',
      component: () => import('@/components/dangjian/home/workingTrends/demoHonorMore'),
      meta: {keepAlive: false}
    },
    // 筑固工程详情
    {
      path: '/sfdVideoMore',
      name: 'sfdVideoMore',
      component: () => import('@/components/dangjian/home/workingTrends/sfdVideoMore'),
      meta: {keepAlive: false}
    },
    // 筑固工程 - 示范带 - 视频更多列表
    {
      path: '/longVideoList',
      name: 'longVideoList',
      component: () => import('@/components/dangjian/home/longVideoList'),
      meta: {keepAlive: false}
    },
    // 培训班列表
    {
      path: '/trainingplanClassListV2',
      name: 'trainingplanClassListV2',
      component: () => import('@/components/dangjian/home/trainingplanClassListV2'),
      meta: {keepAlive: false}
    },
    // 培训班详情
    {
      path: '/trainingplanClassListV2Detail',
      name: 'trainingplanClassListV2Detail',
      component: () => import('@/components/dangjian/home/trainingplanClassListV2Detail'),
      meta: {keepAlive: false}
    },
    // 请假旷课
    {
      path: '/qingjiakuangke',
      name: 'qingjiakuangke',
      component: () => import('@/components/dangjian/home/qingjiakuangke'),
      meta: {keepAlive: false}
    },
    // 主办单位详情
    {
      path: '/zbdwAppraiseManageDetail',
      name: 'zbdwAppraiseManageDetail',
      component: () => import('@/components/dangjian/home/zbdwAppraiseManageDetail'),
      meta: {keepAlive: false}
    },
    // 统计分析详情
    {
      path: '/statisticalAnalysisDetail',
      name: 'statisticalAnalysisDetail',
      component: () => import('@/components/dangjian/home/statisticalAnalysisDetail'),
      meta: {keepAlive: false}
    },
    // 首页搜索
    {
      path: '/indexSearch/:title',
      name: 'indexSearch',
      component: () => import('@/components/dangjian/home/indexSearch'),
      meta: {keepAlive: false}
    },
    // 培训情况
    {
      path: '/training',
      name: 'training',
      component: () => import('@/components/dangjian/home/training'),
      meta: {keepAlive: false}
    },
    // 培训情况详情
    {
      path: '/trainingDetail',
      name: 'trainingDetail',
      component: () => import('@/components/dangjian/home/trainingDetail'),
      meta: {keepAlive: false}
    },
    // 添加通知
    {
      path: '/noticeNoticeAdd/:sendOrigin',
      name: 'noticeNoticeAdd',
      component: () => import('@/components/dangjian/dangwu/noticeNoticeAdd'),
      meta: {keepAlive: false}
    },
    // 专辑列表
    {
      path: '/longVideoList',
      name: 'longVideoList',
      component: () => import('@/components/dangjian/home/longVideoList'),
      meta: {keepAlive: false}
    },
    // 我的荣誉详情
    {
      path: '/myHonorDetail',
      name: 'myHonorDetail',
      component: () => import('@/components/dangjian/personalcenter/myHonorDetail'),
      meta: {keepAlive: false}
    },
    // 红友信息
    {
      path: '/friendInfo/:id',
      name: 'friendInfo',
      component: () => import('@/components/dangjian/personalcenter/friendInfo'),
      meta: {keepAlive: false}
    },
    // 我的反馈
    {
      path: '/myFeedbackList',
      name: 'myFeedbackList',
      component: () => import('@/components/dangjian/home/myFeedbackList'),
      meta: {keepAlive: false}
    },
    // 我的反馈详情
    {
      path: '/demandSurveyFeedbackDetail/:id',
      name: 'demandSurveyFeedbackDetail',
      component: () => import('@/components/dangjian/home/demandSurveyFeedbackDetail'),
      meta: {keepAlive: false}
    },
    // 空间封面
    {
      path: '/spaceCoverAdd',
      name: 'spaceCoverAdd',
      component: () => import('@/components/dangjian/dangwu/spaceCoverAdd'),
      meta: {keepAlive: false}
    },
    // 支部大事记
    {
      path: '/memorabiliasAdd',
      name: 'memorabiliasAdd',
      component: () => import('@/components/dangjian/dangwu/memorabiliasAdd'),
      meta: {keepAlive: false}
    },
    // 支部相册
    {
      path: '/albumsAdd',
      name: 'albumsAdd',
      component: () => import('@/components/dangjian/dangwu/albumsAdd'),
      meta: {keepAlive: false}
    },
    // 支部荣誉添加支部荣誉
    {
      path: '/honorAdd',
      name: 'honorAdd',
      component: () => import('@/components/dangjian/dangwu/honorAdd'),
      meta: {keepAlive: false}
    },
    // 支部相册详情
    {
      path: '/albumsDetail',
      name: 'albumsDetail',
      component: () => import('@/components/dangjian/dangwu/albumsDetail'),
      meta: {keepAlive: false}
    },
    // 添加学习体会
    {
      path: '/learningExperiencesAdd',
      name: 'learningExperiencesAdd',
      component: () => import('@/components/dangjian/dangwu/learningExperiencesAdd'),
      meta: {keepAlive: false}
    },
    // 添加学习资料
    {
      path: '/learningMaterialsesAdd',
      name: 'learningMaterialsesAdd',
      component: () => import('@/components/dangjian/dangwu/learningMaterialsesAdd'),
      meta: {keepAlive: false}
    },
    // 添加学习资料-从我的收藏选择
    {
      path: '/collectionSelection',
      name: 'collectionSelection',
      component: () => import('@/components/dangjian/dangwu/collectionSelection'),
      meta: {keepAlive: false}
    },
    // 添加支部信息
    {
      path: '/spaceCoverAdd/:id',
      name: 'spaceCoverAdd',
      component: () => import('@/components/dangjian/dangwu/spaceCoverAdd'),
      meta: {keepAlive: false}
    },
    // 消息列表
    {
      path: '/noticeNew',
      name: 'noticeNew',
      component: () => import('@/components/dangjian/home/noticeNew'),
      meta: {keepAlive: true}
    },
    // 消息详情
    {
      path: '/noticeNewDetail',
      name: 'noticeNewDetail',
      component: () => import('@/components/dangjian/home/noticeNewDetail'),
      meta: {keepAlive: false}
    },
    // 短信修改密码
    {
      path: '/setPwd/:uuid',
      name: 'setPwd',
      component: () => import('@/components/dangjian/personalcenter/setPwd'),
      meta: {keepAlive: false}
    },
    // 学员列表
    {
      path: '/appraiseManageStudentList',
      name: 'appraiseManageStudentList',
      component: () => import('@/components/dangjian/home/appraiseManageStudentList'),
      meta: {keepAlive: false}
    },
    // 培训结构、主办单位对学员评价
    {
      path: '/appraiseManagePjList',
      name: 'appraiseManagePjList',
      component: () => import('@/components/dangjian/home/appraiseManagePjList'),
      meta: {keepAlive: false}
    },
    // 学员对培训机构、主办单位、教师评价
    {
      path: '/appraiseManageStudentPjList',
      name: 'appraiseManageStudentPjList',
      component: () => import('@/components/dangjian/home/appraiseManageStudentPjList'),
      meta: {keepAlive: false}
    },
    // 我的收藏详情
    {
      path: '/myCollectionDetail/:id',
      name: 'myCollectionDetail',
      component: () => import('@/components/dangjian/personalcenter/myCollectionDetail'),
      meta: {keepAlive: false}
    },
    // 我的浏览历史详情
    {
      path: '/browseHistoryDetail/:id',
      name: 'browseHistoryDetail',
      component: () => import('@/components/dangjian/personalcenter/browseHistoryDetail'),
      meta: {keepAlive: false}
    },
    // 通知情况
    {
      path: '/noticeNoticePeople/:msgId',
      name: 'noticeNoticePeople',
      component: () => import('@/components/dangjian/dangwu/noticeNoticePeople'),
      meta: {keepAlive: false}
    },
    // 线上观摩
    {
      path: '/onlineObservation',
      name: 'onlineObservation',
      component: () => import('@/components/dangjian/home/onlineObservation'),
      meta: {keepAlive: false}
    },
    // 超市首页-红云热兑
    {
      path: '/supermarketHome',
      name: 'supermarketHome',
      component: () => import('@/components/dangjian/mall/supermarketHome'),
      meta: {keepAlive: false}
    },
    // 超市首页-商家入驻新增
    {
      path: '/settlementAdd',
      name: 'settlementAdd',
      component: () => import('@/components/dangjian/mall/settlementAdd'),
      meta: {keepAlive: false}
    },
    // 超市首页-商家入驻列表
    {
      path: '/settlementList',
      name: 'settlementList',
      component: () => import('@/components/dangjian/mall/settlementList'),
      meta: {keepAlive: false}
    },
    // 红云超市-乐享乐购
    {
      path: '/happyShopping',
      name: 'happyShopping',
      component: () => import('@/components/dangjian/mall/happyShopping'),
      meta: {keepAlive: false}
    },
    // 兑换券详情
    {
      path: '/ticketDetail',
      name: 'ticketDetail',
      component: () => import('@/components/dangjian/mall/ticketDetail'),
      meta: {keepAlive: false}
    },
    // 我的积分
    {
      path: '/scoreDetail',
      name: 'scoreDetail',
      component: () => import('@/components/dangjian/mall/scoreDetail'),
      meta: {keepAlive: false}
    },
    // 我的积分2
    {
      path: '/scoreMonthSummary',
      name: 'scoreMonthSummary',
      component: () => import('@/components/dangjian/mall/scoreMonthSummary'),
      meta: {keepAlive: false}
    },
    // 兑换记录
    {
      path: '/mallForRecordList',
      name: 'mallForRecordList',
      component: () => import('@/components/dangjian/mall/forRecordList'),
      meta: { keepAlive: false }
    },
    // 兑换详情
    {
      path: '/mallForRecordDetail',
      name: 'mallForRecordDetail',
      component: () => import('@/components/dangjian/mall/forRecordDetail'),
      meta: { keepAlive: false }
    },
    // 预约申请
    {
      path: '/mallAppointment',
      name: 'mallAppointment',
      component: () => import('@/components/dangjian/mall/appointment/index'),
      meta: { keepAlive: false }
    },
    // 撤销列表
    {
      path: '/mallRevocationList',
      name: 'mallRevocationList',
      component: () => import('@/components/dangjian/mall/revocationList'),
      meta: { keepAlive: false }
    },
    // 撤销详情
    {
      path: '/mallRevocationDetail',
      name: 'mallRevocationDetail',
      component: () => import('@/components/dangjian/mall/revocationDetail'),
      meta: { keepAlive: false }
    },
    // 订单详情
    {
      path: '/mallOrderDetail',
      name: 'mallOrderDetail',
      component: () => import('@/components/dangjian/mall/orderDetail'),
      meta: { keepAlive: false }
    },
    // 商店详情
    {
      path: '/mallDetail',
      name: 'mallDetail',
      component: () => import('@/components/dangjian/mall/mallDetail'),
      meta: {keepAlive: false}
    },
    // 商店简介
    {
      path: '/mallIntroduction',
      name: 'mallIntroduction',
      component: () => import('@/components/dangjian/mall/mallIntroduction'),
      meta: {keepAlive: false}
    },
    // 答题日历组件
    {
      path: '/dateComponent',
      name: 'dateComponent',
      component: () => import('@/components/common/dateComponent'),
      meta: {keepAlive: false}
    },
    // 选择补答题时间
    {
      path: '/dateDetail',
      name: 'dateDetail',
      component: () => import('@/components/dangjian/mall/dateDetail'),
      meta: {keepAlive: false}
    },
    // 单元测试
    {
      path: '/test',
      name: 'test',
      component: () => import('@/test/index'),
      meta: {keepAlive: false}
    },
    // audioTest单元测试
    {
      path: '/testAudio',
      name: 'testAudio',
      component: () => import('@/test/testAudioPCM'),
      meta: {keepAlive: false}
    },
  ]
})
